﻿@model IEnumerable<KRM.Core.tblTicketAudit>
@{
    var db = new KRM.Core.KRMEntities();
}
    <div class="modal-header">
         <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
         <h4> Action history</h4>
    </div>    
        <div class="modal-body form-horizontal" style="padding-bottom: 0px;">
            <div class="">
            @foreach (var item in Model)
                        {
                            <div class="row-fluid alert alert-info">
                            <strong>@item.Date.ToString() - @db.tblUsers.Find(item.UserID).Username - @item.Action </strong>
                            <br />
                                @foreach (string s in @item.Note.Split('|'))
                                {
                                    <label>@s</label><br />
                                }             
                                </div>
                        }
            </div>
        </div>

    <div class="modal-footer">        
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
    </div>